package com.ruoqing.inform.service.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
	* @author YaoXian
	* @title: MailMessageService
	* @projectName ruoxi-blog
	* @description: 若兮微服务 -
	* @date 2020-11-05 13:02
	*/
public interface MailMessageService {
		
		/**
			*  发送QQ邮件
			* @param sender        发件人
			* @param receiver      收件人
			* @param emailTitle    邮件标题
			* @param messageBody   邮件内容体
			* @return String
			* @throws Exception
			*/
		@GetMapping(path = "/sendMailMessage")
		String sendMailMessage(@RequestParam("sender") String sender,@RequestParam("receiver") String receiver,@RequestParam("emailTitle") String emailTitle,@RequestParam("messageBody") String messageBody) throws Exception;
}
